
#ifndef _MEMBER_BGROUPBOX_H_
#define _MEMBER_BGROUPBOX_H_

#include <BFont>
#include <BImage>
#include <BIcon>
#include <BGroupBox>
#include <BPointArray>

#include "IAlignment.h"

namespace BWE
{
	class member_BGroupBox : public IAlignment
	{
	public:
		member_BGroupBox(BGroupBox* groupBox);
		~member_BGroupBox();

		void freshRects(const BStyle* style);

		BGroupBox*		boss;
		bool			flat;
		bool			wired;
		BSize			iconSize;
		bool			checkable;
		bool			checked;
		bool			foldable;
		bool			folded;
		int				wireSize;
		bool			autoTop;
		bool			autoLeft;
		bool			autoRight;
		bool			autoBottom;

		bool			dirty;
		bool			backupTopState;
		bool			backupLeftState;
		bool			backupRightState;
		bool			backupBottomState;
		bool			backupCenterState;
		BSize			centerSize;
		BPerch			backupPerch;
		BMargin			backupMargin;
		Policy			backupVPolicy;
		State			state;
		BString			t_title;
		BRect			titleArea;

		BPointfArray	wirePoints;
	};
}

#endif
